Skip to content

Conversation

@anila-m
Copy link
Contributor

@anila-m anila-m commented Oct 30, 2025

  • input & output handles for if-else node and repeat node are fixed (at most one final output per input)
  • number of inputs (and outputs) can be increased and decreased with the context menu for the following nodes:
    • If-else
    • repeat
    • merger
    • splitter
    • (classical) algorithm

number of input handles now determined by parameter (in property panel), not by number of connected handles.
Not completely fixed for if-then-else node.
- Final Output handles (polygon on the right) appear when internal output handles (then and else blocks) are connected.
- position of final output handles fixed
added some comments
Added buttons to add and remove input/output for some nodes, wherever applicable.

- if-then-else & repeat: add/remove quantum/classical input
- merger: add/remove input
- splitter: add/remove output
Added submenu if node has both classical and quantum input, i.e.
Add Input > Quantum | Classical.
Changed "Classic" to "Classical" in Submenu of Context Menu.
Maximum one final output handle per input.
- algorithm nodes (classical & quantum) now have data fields numberQuantumInputs/Outputs and numberClassicalInputs/Outputs
- values can be changed in property panel and via context menu
- preparation for consolidating algorithm and classicalAlgorithm into one node
LaviniaStiliadou and others added 11 commits December 14, 2025 19:33
using property panel to change number of inputs and outputs of custom (quantum/classical) operator fixed. Context menu: adding/removing input/output fixed.
Uniform setting specifiers for experience mode, recommended settings (table) and configuration:
* Ancilla Modeling: On/Off
* Compact Visualization: On/Off
* Completion Guaranteed: Yes/No
Property Panel now shows all choices of arithmetic operators if completionGuaranteed == False.
Categories "Data Types" and "Operators" have different descriptions based on completionGuaranteed
Automatically sets recommended settings when switching Experience levels:
* Explorer: Ancilla Off, Compact Off
* Pioneer: Ancilla On, Compact On
Changed filename from "reactflow-diagram.svg" to "[model name]_flow-[id].svg"
category panel: moved TDG gate up to T gate
* Remove Input/Output only appears in context menu if there are inputs/outputs to be removed
* custom classical operator: only cassical inputs/outputs, minimum number of in/out: 0
* custom quantum operator: both classical and quantum, minimum number of in/out: 0
* merger and splitter: minimum number of in/out: 2
* control structure nodes: minimum number of inputs: 1
added classical inputs & outputs for custom quantum operator
error: deleting custom classical/quantum operator node threw error (white screen).
@anila-m anila-m marked this pull request as draft January 9, 2026 11:37
* side panels open at the beginning
* experience mode panel opens only for relevant steps
* correct property panel visible (property panel of selected node instead of model information
* switching experience level sets default setting (Ancilla Mode and Compact Visualization)
* removed "numberInputs" fields (and similar fields) for Splitter, Merger, Custom Operators, Control Structure Nodes
* inputs in property panel didn't work, need to be fixed before input fields are added again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants